 /**
 * 子模块路由
 * djp
 */

var router = function($urlRouterProvider, $stateProvider){

     $stateProvider

    .state('app.lxstj', {
        url: "/dataanalysis/lxstj",
        views: {
            'main@' : {
                template : require('./views/lxstj.html'),
                controller : 'lxstj',
            }
        },
        resolve:{
            
        }
    })

    .state('app.jqyktj', {
        url: "/dataanalysis/jqyktj",
        views: {
            'main@' : {
                template : require('./views/jqyktj.html'),
                controller : 'jqyktj',
            }
        },
        resolve:{
            
        }
    })

    .state('app.xfrqtj', {
        url: "/dataanalysis/xfrqtj",
        views: {
            'main@' : {
                template : require('./views/xfrqtj.html'),
                controller : 'xfrqtj',
            }
        },
        resolve:{
            
        }
    })

    .state('app.ajjqtj', {
        url: "/dataanalysis/ajjqtj",
        views: {
            'main@' : {
                template : require('./views/ajjqtj.html'),
                controller : 'ajjqtj',
            }
        },
        resolve:{
            
        }
    })

    .state('app.cpfbtj', {
        url: "/dataanalysis/cpfbtj",
        views: {
            'main@' : {
                template : require('./views/cpfbtj.html'),
                controller : 'cpfbtj',
            }
        },
        resolve:{
            
        }
    })

    .state('app.cpjgtj', {
        url: "/dataanalysis/cpjgtj",
        views: {
            'main@' : {
                template : require('./views/cpjgtj.html'),
                controller : 'cpjgtj',
            }
        },
        resolve:{
            
        }
    })

    .state('app.ddtj', {
        url: "/dataanalysis/ddtj",
        views: {
            'main@' : {
                template : require('./views/ddtj.html'),
                controller : 'ddtj',
            }
        },
        resolve:{
            date2str : function(utilservice){
                return utilservice.date2str;
            },
        }
    })

    // .state('app.bigscreen', {
    //     url: "/dataanalysis/bigscreen",
    //     views: {
    //         'main@' : {
    //             template : require('./views/bigscreen.html'),
    //             controller : 'bigscreen',
    //         }
    //     },
    //     resolve:{

    //     }
    // })

    .state('app.numberaccount', { 
        url: '/numberaccount.html',
        views: {
            'main@' : {
                controller : 'examine1',
                template: require('./views/examine.html'),
                }
        },
        resolve:{
        }
        
    })


};

module.exports = router;